import {defineConfig} from 'rollup';
import {uglify} from 'rollup-plugin-uglify';
import {nodeResolve} from '@rollup/plugin-node-resolve';

export default defineConfig({
    input: './dev/rollup.js',
    output: {
        file: 'dist/sober.min.js',
        format: 'umd',
        sourcemap: true,
        name: 'sober'
    },
    plugins: [nodeResolve(), uglify()]
});
